import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Home from '@/components/Home.vue'
import Member from '@/components/Member.vue'
import Shopcar from '@/components/Shopcar.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: './components/Home.vue',
      name: 'home',
      component: Home
    },
    
    {
      path: './components/Member.vue',
      name: 'Member',
      component: Member
    },
    
    {
      path: './components/Shopcar',
      name: 'Shopcar',
      component: Shopcar
    }
    
  ]
})
